.top-nav {
    width: 100%;
    height: 30px;
    background: #f2f2f2;
    border-bottom: 1px solid #777;
}

.top-nav .row {
    width: 1200px;
    height: 30px;
    margin: 0 auto;
}

.top-nav .row li {
    height: 30px;
    line-height: 30px;
    padding-right: 10px;
    cursor: pointer;
}

.top-nav .row li:hover {
    color: #ff7000;
}

.top-nav .row li.space {
    flex-grow: 1;
}

.main {
    width: 1200px;
    margin: auto;
    background: #fff;
}

.top-search {
    display: flex;
    width: 100%;
    height: 120px;
}

.top-search img {
    width: 150px;
    height: 60px;
    margin-top: 29px;
    margin-left: 17px;
}

.serch-box {
    max-width: 500px;
    flex-grow: 1;
    margin-top: 45px;
    border: 2px solid #5f8b2f;
    height: 32px;
    margin-left: 120px;
    margin-right: 40px;
    overflow: hidden;
    display: flex;
}

.serch-box input {
    border: 0;
    height: 32px;
    font-size: 20px;
    margin: 0;
    /*清除input输入状态边框*/
    outline: none;
    flex-grow: 1;
    padding-left: 32px;
    background-image: url(../天天生鲜/images/icons.png);
    background-repeat: no-repeat;
    background-position: 8px -340px;
}

.serch-box span {
    width: 120px;
    height: 32px;
    line-height: 32px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    background-color: #5f8b2f;
}
.cart-box{
    width: 200px;
    height: 34px;
    display: flex;
    margin-top: 45px;
}
.cart-box .cart-text{
    width: 162px;
    height: 34px;
    line-height: 34px;
    border: 1px solid #f2f2f2;
    font-size: 16px;
    font-weight: bold;
    color: #5f8b2f;
    text-align: center;
    background-image: url(../天天生鲜/images/icons.png);
    background-repeat: no-repeat;
    background-position: 6px -300px;
    margin-top: 45px;
}
.cart-box .cart-num{
    background-color: #ff7000;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    margin-top: 45px;
}
.cate-titbox{
    width: 100%;
    height: 40px;
    border-bottom: 2px solid  #5f8b2f;
}
.cate-titbox .cate{
    display: flex;
    width: 1200px;
    margin: 0 auto;
    height: 40px;
}
.cate-titbox .cate h2{
    padding: 0;
    margin: 0;
    width: 250px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: #5f8b2f;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
.cate-titbox .cate li{
    line-height: 40px;
    margin: 0 10px;
    cursor: pointer;
}
.cate-titbox .cate li{
    color: #ff7000;
}
.slider-box{
    margin: 0 auto;
    width: 1200px;
    height: 270px;
    display: flex;
}
.slider-box ul{
    width: 200px;
    height: 270px;
}
.slider-box ul li{
    height: 45px;
    width: 198px;
    border: 1px solid #e2e2e2;
    border-top: 0;
    text-align: center;
    cursor: pointer;
    line-height: 45px;
    font-size: 16px;
    color: #222;
    position: relative;
}
.slider-box ul li::after{
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid #e2e2e2;
    border-right: 2px solid #e2e2e2;
    transform: rotate(45deg);
    top:16px;
    right: 16px;
}
.slider-box ul li:hover{
    color: #ff7000;
}
.slider-box ul li:nth-child(1){
    background: url(../天天生鲜/images/icons.png) no-repeat;
    background-position: 8px 0;
}
.slider-box ul li:nth-child(2){
    background: url(../天天生鲜/images/icons.png) no-repeat;
    background-position: 8px -45px;
}
.slider-box ul li:nth-child(3){
    background: url(../天天生鲜/images/icons.png) no-repeat;
    background-position: 8px -85px;
}
.slider-box ul li:nth-child(4){
    background: url(../天天生鲜/images/icons.png) no-repeat;
    background-position: 8px -135px;
}
.slider-box ul li:nth-child(5){
    background: url(../天天生鲜/images/icons.png) no-repeat;
    background-position: 8px -175px;
}
.slider-box ul li:nth-child(6){
    background: url(../天天生鲜/images/icons.png) no-repeat;
    background-position: 8px -220px;
}
.slider-box .slider{
    position: relative;
    width: 800px;
    overflow: hidden;
}
.slider .arrow-left{
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid #e2e2e2;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(-45deg);
    left: 20px;
    top:45%;
    cursor: pointer;
}
.slider .arrow-right{
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid #e2e2e2;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    right: 20px;
    top:45%;
    cursor: pointer;
}
.slider-box .slider img{
    width: 100%;
    height: 275px;
}
.slider-box .adver{
    width: 300px;
    background: #ff7000;
}
.g-tit{
    width: 1200px;
    height: 40px;
    line-height: 40px;
    border-bottom: 2px solid #5f8b2f;
    display: flex;
    margin: 0 auto;
    margin-top: 20px;
}
.g-tit .tit{
    padding: 0 10px;
    font-size: 16px;
    color: #5f8b2f;
}
.g-tit>div{
    font-size: 14px;
    padding: 0 10px;
    color: gray;
}
.g-tit .space{
    flex-grow: 1;
}
.g-list{
    width: 1200px;
    margin: 0 auto;
    display: flex;
}
.g-list .g-cate{
    width: 200px;
    height: 300px;
    background: url(../天天生鲜/images/banner01.jpg)no-repeat;
}
.g-list .g-goods{
    widows: 249px;
    height: 299px;
    border: 1px solid #e2e2e2;
    border-top: 0;
    border-left: 0;
}.g-list .g-goods .tit{
    height: 50px;
    font-size: 18px;
    text-align: center;
    line-height: 100px;
}
.g-list .g-goods img{
    width: 180px;
    height: 180px;
    margin: 10px 37px;
}
.g-list .g-goods .price{
    font-weight: bold;
    font-size: 20px;
    color: red;
    text-align: center;
    line-height: 20px;
    height: 50px;
}
